/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.luxoft.corporate.blog.db;

/**
 *
 * @author Egor
 */
public interface Query {

    public static enum SupportedRequestTypes {

        SELECT("SELECT"), INSERT("INSERT INTO"), UPDATE("UPDATE"), DELETE("DELETE");

        private final String sqlRepresentation;

        private SupportedRequestTypes(String sqlRepresentation) {
            this.sqlRepresentation = sqlRepresentation;
        }

        public String getSqlRepresentation() {
            return sqlRepresentation;
        }

    }

    void addBooleanParametr(Boolean boolParam);

    void addSqlCommand(String sqlCommand);

    void addStringParametr(String query);

    void addNumberParametr(Number number);

    String prepareQuery();
}
